home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_c / lsdoor09.zip / FILES.H < prev    next >
C/C++ Source or Header  |  1996-03-23  |  1KB  |  43 lines

  1. #ifndef __FILES_HEADER_FILE__
  2. #define __FILES_HEADER_FILE__
  3.  
  4. global uchar batch;         // (0/1) (Set by GetDownloadProto) Batch xfer?
  5.  
  6. void init_files( void );    // Clear the mark buffer etc.
  7.  
  8. void list_areas( void );    // Displays a file area listing (Display only)
  9. char *file_path( void );    // Finds the hard disk location of current file
  10.  
  11. void list_files( int );     // Send the area number
  12.  
  13. void search_files( ulong start, uchar *keys, struct date *n, long area=-1,
  14.   char sort=0 );
  15.  
  16. int  mark_pause( void );    // PRIVATE!  OWNED BY FILES.CPP!
  17.  
  18. int build_download_list( void );
  19.  
  20. uchar GetDownloadProto( void );          // Returns letter or false
  21. uchar DisconnectAfterTransfer( void );   // Returns (true/false)
  22.  
  23. int  DoUploadScan( void );
  24.  
  25. int  copy_file( const char *fname, const char *to );
  26.  
  27. /////////
  28.  
  29. //void  Download( void );
  30. void  NewDownload( void );
  31. //void  Download( uchar *filename );
  32. void  NewDownload( uchar *filename );
  33. char *Upload( char *path );
  34. char *NewUpload( char *path );
  35. char *GetUploadFile( void );
  36. void  Upload( long menuSet=0, long setArea=0 );
  37.  
  38. #endif
  39.  
  40. // End of Files.H
  41.  
  42.  
  43.